package org.chen.model.dto;

import lombok.Data;

import javax.validation.constraints.NotBlank;
import java.util.List;

// 更新文章的DTO
@Data
public class ArticleUpdateDTO {
    @NotBlank(message = "标题不能为空")
    private String title;
    
    private String summary;
    private String contentHtml;
    private String category;
    private List<String> tags;
    private String thumbnailUrl;
}